/*
 * wueasy - A Java Distributed Rapid Development Platform.
 * Copyright (C) 2017-2023 wueasy.com , All Rights Reserved.

 * Without permission, no one is allowed to use 
 * (including but not limited to: copying, disseminating,
 * displaying, mirroring, uploading, downloading in illegal ways);

 * Otherwise, legal liability will be investigated according to law.
 */
package com.wueasy.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.wueasy.base.vo.ResultVo;

@FeignClient(contextId = "web-feign",name = "web-feign",url = "${wueasy.feign.web-feign:}")
public interface DemoFeignClient {

	/**
	 * 增加操作日志
	 * @author: fallsea
	 * @param dto
	 * @return
	 */
	@GetMapping(value= "/get",produces = MediaType.APPLICATION_JSON_VALUE)
	ResultVo<String> get(@RequestParam(value = "name",required = false)String name);

}
